package edu.hebeu.entity;

import java.io.Serializable;
import java.util.List;

public class OrderDetailResponse implements Serializable {
    private static final long serialVersionUID = -6415180594790971278L;
    private int code;
    private String msg;
    private List<OrderDetail> orderDetail;
    public void setCode(int code) {
        this.code = code;
    }
    public int getCode() {
        return code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public String getMsg() {
        return msg;
    }

    public void setOrderDetail(List<OrderDetail> orderDetail) {
        this.orderDetail = orderDetail;
    }
    public List<OrderDetail> getOrderDetail() {
        return orderDetail;
    }

    public class OrderDetail {

        private int id;
        private String order_code;
        private int goods_id;
        private int goodsprice;
        private int goodscount;
        private int price;
        private String name;
        public void setId(int id) {
            this.id = id;
        }
        public int getId() {
            return id;
        }

        public void setOrder_code(String order_code) {
            this.order_code = order_code;
        }
        public String getOrder_code() {
            return order_code;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }
        public int getGoods_id() {
            return goods_id;
        }

        public void setGoodsprice(int goodsprice) {
            this.goodsprice = goodsprice;
        }
        public int getGoodsprice() {
            return goodsprice;
        }

        public void setGoodscount(int goodscount) {
            this.goodscount = goodscount;
        }
        public int getGoodscount() {
            return goodscount;
        }

        public void setPrice(int price) {
            this.price = price;
        }
        public int getPrice() {
            return price;
        }

        public void setName(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }
    }

}